package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class MonitorBlockHandler {
    public static String handler(BlockException e) {
        System.out.println(e.getRuleLimitApp());
        return "服务繁忙";
    }
}
